Skip to main content

Installation

Let's dive into NestCLI and get up to speed in less than 5 minutes!


Prerequisites#

Before you begin, make sure you have the following installed:

  1. Node.js
    NestCLI requires Node.js to be installed. If you don’t have it yet, download and install it from here.

  2. Yarn
    Yarn is an alternative package manager that can be used to install NestCLI. You can install it by running:

    npm install -g yarn

    Or you can download it from here.


Getting Started#

You can install NestCLI globally using either npm or Yarn. Here’s how:

Using npm:#

npm install -g nest-cli

Using Yarn:#

yarn global add nest-cli

Verify Installation#

To ensure that NestCLI was installed successfully, you can check the version by running:

nest --version

This will display the currently installed version of NestCLI.